package org.buptsse.entity;

import java.io.Serializable;
import java.util.ArrayList;

import android.R.integer;
import android.graphics.Bitmap;

public class BookItem implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String bookid,bookname,author,publish,isbn,number,addres,
					seller,price,condition,comment,booknumber,longtitude,latitude;
	private Bitmap bitmap;
	private ArrayList<Bitmap> bitmapList=new ArrayList<Bitmap>();
	
	public void addBitmap(Bitmap bitmap)
	{
		bitmapList.add(bitmap);
	}
	
	public void deleteBitmap(int index)
	{
		bitmapList.remove(index);
	}
	
	public ArrayList<Bitmap> getPhotoList()
	{
		return bitmapList;
	}
	
	public int getPhotoCount()
	{
		return bitmapList.size();
	}
	
	public String getAddres() {
		return addres;
	}

	public void setAddres(String addres) {
		this.addres = addres;
	}

	public Bitmap getBitmap() {
		return bitmap;
	}

	public void setBitmap(Bitmap bitmap) {
		this.bitmap = bitmap;
	}

	public String getNumber() {
		return number;
	}

	
	public void setNumber(String number) {
		this.number = number;
	}

	public String getSeller() {
		return seller;
	}

	public void setSeller(String seller) {
		this.seller = seller;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getBooknumber() {
		return booknumber;
	}

	public void setBooknumber(String booknumber) {
		this.booknumber = booknumber;
	}

	public String getLongtitude() {
		return longtitude;
	}

	public void setLongtitude(String longtitude) {
		this.longtitude = longtitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getBookid() {
		return bookid;
	}

	public void setBookid(String bookid) {
		this.bookid = bookid;
	}

	public String getBookname() {
		return bookname;
	}

	public void setBookname(String bookname) {
		this.bookname = bookname;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPublish() {
		return publish;
	}

	public void setPublish(String publish) {
		this.publish = publish;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
}
